package routers

import (
	"beego/controllers"

	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/getPubKey", &controllers.LoginController{}, "post:GetPubKey")
	beego.Router("/login", &controllers.LoginController{}, "post:Login")
	beego.Router("/logout", &controllers.LoginController{}, "post:Logout")
	beego.Router("/pageQuery", &controllers.PageQueryController{}, "post:PageQuery")
	beego.Router("/addFoodType", &controllers.FoodTypeController{}, "post:AddFoodType")
	beego.Router("/queryFoodType", &controllers.FoodTypeController{}, "post:QueryFoodType")
	beego.Router("/queryFoodTypeDetail", &controllers.FoodTypeController{}, "post:QueryFoodTypeDetail")
	beego.Router("/addFood", &controllers.AddFoodController{}, "post:AddFood")
	beego.Router("/queryFood", &controllers.QueryFoodController{}, "post:QueryFood")
	beego.Router("/delFood", &controllers.DelFoodController{}, "post:DelFood")
	// beego.Router("/modifyFood", &controllers.ModifyFoodController{}, "post:ModifyFood")
	// beego.Router("/checkLunar", &controllers.RemindDateController{}, "post:CheckLunar")
	beego.Router("/addRemindDate", &controllers.RemindDateController{}, "post:AddRemindDate")
	beego.Router("/queryRemindDate", &controllers.RemindDateController{}, "post:QueryRemindDate")
	beego.Router("/delRemindDate", &controllers.RemindDateController{}, "post:DelRemindDate")
	beego.Router("/modifyRemindDate", &controllers.RemindDateController{}, "post:ModifyRemindDate")
	beego.Router("/dateRemind", &controllers.RemindDateController{}, "post:DateRemind")
	beego.Router("/queryPwd", &controllers.QueryPwdController{}, "post:QueryPwd")
	beego.Router("/eq_calc", &controllers.MathCalcController{}, "post:EqCalc")
	beego.Router("/delEqCalcRecords", &controllers.MathCalcController{}, "post:DelEqCalcRecords")
	beego.Router("/queryEqCalcRecords", &controllers.MathCalcController{}, "post:QueryEqCalcRecords")
	beego.Router("/queryRole", &controllers.RoleController{}, "post:QueryRole")
	beego.Router("/queryPageList", &controllers.RoleController{}, "post:QueryPageList")
	beego.Router("/addRole", &controllers.RoleController{}, "post:AddRole")
	beego.Router("/updateRole", &controllers.RoleController{}, "post:UpdateRole")
	beego.Router("/queryRoleDetail", &controllers.RoleController{}, "post:QueryRoleDetail")
	beego.Router("/delRole", &controllers.RoleController{}, "post:DelRole")
	beego.Router("/getUserPubKey", &controllers.UserController{}, "post:GetUserPubKey")
	beego.Router("/cancelAddUser", &controllers.UserController{}, "post:CancelAddUser")
	beego.Router("/confirmAddUser", &controllers.UserController{}, "post:ConfirmAddUser")
	beego.Router("/delUser", &controllers.UserController{}, "post:DelUser")
	beego.Router("/queryUser", &controllers.UserController{}, "post:QueryUser")
	beego.Router("/queryUserRole", &controllers.UserController{}, "post:QueryUserRole")
	beego.Router("/alterPwd", &controllers.UserController{}, "post:AlterPwd")
	beego.Router("/queryBdndFile", &controllers.QueryBdndFileController{}, "post:QueryBdndFile")
	beego.Router("/queryQQmailnp", &controllers.QueryQQmailnpController{}, "post:QueryQQmailnp")
}
